<div class="loginpanel">
    <div class="loginpanelinner" style="top:-370px;">
        <div class="logo ">
            <?php echo $this->Html->image('logo.png', array('alt' => 'Name of App','border'=>0)); ?>
        </div>
        <?php
        $flash_msg = $this->Session->read('Message');
        if (isset($flash_msg['flash'])) {
            ?>
            <div id="loginmsg" class="inputwrapper">
                <?php echo $this->Message->msg('Login', $this->Session->flash(), 'error'); ?>
            </div>
        <?php
        }
        ?>
        <?php echo $this->Form->create('User', array('id' => 'sign-up'));?>
            <div class="inputwrapper login-alert">

            </div>
            <div class="inputwrapper ">
                <?php echo $this->Form->input('username', array('id' => 'username', 'class' => '', 'placeholder' => 'Enter Your Username', 'value'=>$post['username'],'div' => false, 'label' => false)); ?>
            </div>
            <div class="inputwrapper ">
                <?php echo $this->Form->input('password', array('type' => 'password', 'id' => 'password', 'class' => '', 'placeholder' => 'Enter Your Password', 'value'=>$post['password'], 'div' => false, 'label' => false)); ?>
            </div>
            <div class="inputwrapper ">
                <?php echo $this->Form->input('confirm_password', array('type' => 'password', 'id' => 'confirm_password', 'class' => '', 'placeholder' => 'Confirm Password', 'value'=>$post['confirm_password'], 'div' => false, 'label' => false)); ?>
            </div>
            <div class="inputwrapper ">
                <?php echo $this->Form->input('fname', array('id' => 'fname', 'class' => '', 'placeholder' => 'Enter Your First Name', 'value'=>$post['fname'], 'div' => false, 'label' => false)); ?>
            </div>
            <div class="inputwrapper ">
                <?php echo $this->Form->input('lname', array('id' => 'lname', 'class' => '', 'placeholder' => 'Enter Your Last Name', 'value'=>$post['lname'], 'div' => false, 'label' => false)); ?>
            </div>
            <div class="inputwrapper ">
                <?php echo $this->Form->input('mname', array('id' => 'mname', 'class' => '', 'placeholder' => 'Enter Your Middle Name', 'value'=>$post['mname'], 'div' => false, 'label' => false)); ?>
            </div>
            <div class="inputwrapper ">
                <?php echo $this->Form->input('email', array('id' => 'email', 'class' => '', 'placeholder' => 'Enter Your Email', 'value'=>$post['email'], 'div' => false, 'label' => false)); ?>
            </div>
            <div class="inputwrapper ">
                <?php echo $this->Form->input('telephone', array('id' => 'telephone', 'class' => '', 'placeholder' => 'Enter Your Telephone', 'value'=>$post['telephone'], 'div' => false, 'label' => false)); ?>
            </div>
            <div class="inputwrapper ">
                <button name="submit">Sign Up</button>
            </div>
            <div class="inputwrapper " style="margin-top: 10px;">
                <a href="<?php echo $this->Html->url(array('controller' => 'Users', 'action' => 'login')); ?>" class="btn">Login</a>
            </div>
            <!--<div class="inputwrapper animate4 bounceIn">
                <label><input type="checkbox" class="remember" name="signin" /> Keep me sign in</label>
            </div>-->
        <?php echo $this->Form->end();?>
    </div><!--loginpanelinner-->
</div><!--loginpanel-->

<input type="hidden" id="current_page_action" value="<?php echo $this->params['action']; ?>" />

